Class: Mork::Raw::MetaAlias
- Inherits:
-
Object
- Object
- Mork::Raw::MetaAlias
- Defined in:
- lib/mork/raw/meta_alias.rb
Overview
An alias indicating a Dictionary’s scope
Instance Attribute Summary collapse
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
Instance Method Summary collapse
-
#initialize(raw:) ⇒ MetaAlias
constructor
A new instance of MetaAlias.
- #scope ⇒ Object
Constructor Details
#initialize(raw:) ⇒ MetaAlias
Returns a new instance of MetaAlias.
10 11 12 |
# File 'lib/mork/raw/meta_alias.rb', line 10 def initialize(raw:) @raw = raw end |
Instance Attribute Details
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
8 9 10 |
# File 'lib/mork/raw/meta_alias.rb', line 8 def raw @raw end |
Instance Method Details
#scope ⇒ Object
14 15 16 17 |
# File 'lib/mork/raw/meta_alias.rb', line 14 def scope _from, to = raw.split("=") to end |