Class: Def

Inherits:
Object
  • Object
show all
Defined in:
lib/runtime.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ast) ⇒ Def

Returns a new instance of Def.



5
6
7
# File 'lib/runtime.rb', line 5

def initialize ast
	@ast = ast
end

Instance Attribute Details

#astObject (readonly)

Returns the value of attribute ast.



3
4
5
# File 'lib/runtime.rb', line 3

def ast
  @ast
end