Class: Scrab::Step
- Inherits:
-
Object
- Object
- Scrab::Step
- Defined in:
- lib/scrab/step.rb
Instance Attribute Summary collapse
-
#keyword ⇒ Object
Returns the value of attribute keyword.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#keyword ⇒ Object
Returns the value of attribute keyword.
2 3 4 |
# File 'lib/scrab/step.rb', line 2 def keyword @keyword end |
#name ⇒ Object
Returns the value of attribute name.
2 3 4 |
# File 'lib/scrab/step.rb', line 2 def name @name end |
Instance Method Details
#full_name ⇒ Object
4 5 6 |
# File 'lib/scrab/step.rb', line 4 def full_name "#{keyword} #{name}" end |