Methods
instance_delegate
instance_operator
method_missing
new
Public Class methods
[ + ]
# File lib/more/facets/elementor.rb, line 101 def initialize(elem_object, elem_method=nil) @elem_object = elem_object @elem_method = elem_method || :map end
Public Instance methods
[ + ]
# File lib/more/facets/elementor.rb, line 106 def instance_delegate @elem_object end
[ + ]
# File lib/more/facets/elementor.rb, line 110 def instance_operator @elem_method end
[ + ]
# File lib/more/facets/elementor.rb, line 114 def method_missing(sym,*args,&blk) @elem_object.__send__(@elem_method){ |x| x.__send__(sym,*args,&blk) } end