This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
class Module | |
def decorator name, &wrapper | |
define_singleton_method name do |*names, **opts| | |
if names.length != 0 | |
@ignore_wrap = true | |
names.each do |nm| | |
define_method nm, &wrapper.call(instance_method(nm), **opts) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
position : absolute; | |
top : 0px; | |
bottom : 0px; | |
left : 0px; | |
right : 0px; | |
padding : 0px; | |
margin : 0px; | |
} |
NewerOlder