Class: Scope::Variable
Instance Attribute Summary collapse
-
#read ⇒ Object
Returns the value of attribute read.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#written ⇒ Object
Returns the value of attribute written.
Instance Method Summary collapse
-
#initialize(type = Ikra::Types::UnionType.new) ⇒ Variable
constructor
A new instance of Variable.
Constructor Details
Instance Attribute Details
#read ⇒ Object
Returns the value of attribute read.
44 45 46 |
# File 'lib/scope.rb', line 44 def read @read end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
43 44 45 |
# File 'lib/scope.rb', line 43 def type @type end |
#written ⇒ Object
Returns the value of attribute written.
45 46 47 |
# File 'lib/scope.rb', line 45 def written @written end |