Module: Alf::Lang::ObjectOriented
- Includes:
- AggregationMethods, AlgebraMethods, RenderingMethods
- Defined in:
- lib/alf-lang/alf/lang/object_oriented.rb,
lib/alf-lang/alf/lang/oo/algebra_methods.rb,
lib/alf-lang/alf/lang/oo/rendering_methods.rb,
lib/alf-lang/alf/lang/oo/aggregation_methods.rb
Defined Under Namespace
Modules: AggregationMethods, AlgebraMethods, RenderingMethods
Class Method Summary collapse
Methods included from RenderingMethods
def_renderer_method, #to_a, #to_array
Methods included from AlgebraMethods
#!~, #&, #*, #+, #-, #=~, #allbut, def_operator_method, #tuple_extract
Methods included from AggregationMethods
Class Method Details
.new(self_operand) ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/alf-lang/alf/lang/object_oriented.rb', line 11 def self.new(self_operand) Module.new{ include ObjectOriented define_method(:_self_operand) do self_operand end define_method(:to_cog) do self_operand.to_cog end private :_self_operand } end |