Class: Spoom::Model::Reference::Kind

Inherits:
Object
  • Object
show all
Defined in:
lib/spoom/model/reference.rb

Constant Summary collapse

Constant =

: Kind

new("constant")
Method =

: Kind

new("method")

Instance Method Summary collapse

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