Class: RubyRTL::SigDecl
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#sig ⇒ Object
Returns the value of attribute sig.
Attributes inherited from Ast
Instance Method Summary collapse
-
#initialize(name, sig) ⇒ SigDecl
constructor
A new instance of SigDecl.
Methods inherited from Ast
Constructor Details
#initialize(name, sig) ⇒ SigDecl
Returns a new instance of SigDecl.
64 65 66 |
# File 'lib/ruby_rtl/ast.rb', line 64 def initialize name,sig @name,@sig=name,sig end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
63 64 65 |
# File 'lib/ruby_rtl/ast.rb', line 63 def name @name end |
#sig ⇒ Object
Returns the value of attribute sig.
63 64 65 |
# File 'lib/ruby_rtl/ast.rb', line 63 def sig @sig end |