Class: Mahoujin::Atoms::Syntax
- Inherits:
-
Object
- Object
- Mahoujin::Atoms::Syntax
- Defined in:
- lib/mahoujin/atoms/syntax.rb
Instance Attribute Summary collapse
-
#atoms ⇒ Object
readonly
Returns the value of attribute atoms.
Instance Method Summary collapse
-
#initialize(atoms) ⇒ Syntax
constructor
A new instance of Syntax.
Constructor Details
#initialize(atoms) ⇒ Syntax
Returns a new instance of Syntax.
6 7 8 |
# File 'lib/mahoujin/atoms/syntax.rb', line 6 def initialize(atoms) @atoms = atoms end |
Instance Attribute Details
#atoms ⇒ Object (readonly)
Returns the value of attribute atoms.
4 5 6 |
# File 'lib/mahoujin/atoms/syntax.rb', line 4 def atoms @atoms end |