Class: Scrab::Step

Inherits:
Object
  • Object
show all
Defined in:
lib/scrab/step.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#keywordObject

Returns the value of attribute keyword.



2
3
4
# File 'lib/scrab/step.rb', line 2

def keyword
  @keyword
end

#nameObject

Returns the value of attribute name.



2
3
4
# File 'lib/scrab/step.rb', line 2

def name
  @name
end

Instance Method Details

#full_nameObject



4
5
6
# File 'lib/scrab/step.rb', line 4

def full_name
  "#{keyword} #{name}"
end