Class: Spoom::Model::Reference::Kind
- Inherits:
-
Object
- Object
- Spoom::Model::Reference::Kind
- Defined in:
- lib/spoom/model/reference.rb
Constant Summary collapse
- Constant =
: Kind
new("constant")
- Method =
: Kind
new("method")
Instance Method Summary collapse
-
#initialize(name) ⇒ Kind
constructor
: (String) -> void.
-
#to_s ⇒ Object
: -> String.
Constructor Details
#initialize(name) ⇒ Kind
: (String) -> void
13 14 15 |
# File 'lib/spoom/model/reference.rb', line 13 def initialize(name) @name = name end |
Instance Method Details
#to_s ⇒ Object
: -> String
18 19 20 |
# File 'lib/spoom/model/reference.rb', line 18 def to_s @name end |