Class: Hoozuki::Instruction::Char
- Inherits:
-
Object
- Object
- Hoozuki::Instruction::Char
- Defined in:
- lib/hoozuki/instruction/char.rb
Instance Attribute Summary collapse
-
#char ⇒ Object
Returns the value of attribute char.
Instance Method Summary collapse
-
#initialize(char) ⇒ Char
constructor
A new instance of Char.
Constructor Details
#initialize(char) ⇒ Char
Returns a new instance of Char.
8 9 10 |
# File 'lib/hoozuki/instruction/char.rb', line 8 def initialize(char) @char = char end |
Instance Attribute Details
#char ⇒ Object
Returns the value of attribute char.
6 7 8 |
# File 'lib/hoozuki/instruction/char.rb', line 6 def char @char end |