Class: Rubydex::Keyword
- Inherits:
-
Object
- Object
- Rubydex::Keyword
- Defined in:
- lib/rubydex/keyword.rb,
ext/rubydex/graph.c
Instance Attribute Summary collapse
-
#documentation ⇒ Object
readonly
: String.
-
#name ⇒ Object
readonly
: String.
Instance Method Summary collapse
-
#initialize(name, documentation) ⇒ Keyword
constructor
: (String name, String documentation) -> void.
Constructor Details
#initialize(name, documentation) ⇒ Keyword
: (String name, String documentation) -> void
12 13 14 15 |
# File 'lib/rubydex/keyword.rb', line 12 def initialize(name, documentation) @name = name @documentation = documentation end |
Instance Attribute Details
#documentation ⇒ Object (readonly)
: String
9 10 11 |
# File 'lib/rubydex/keyword.rb', line 9 def documentation @documentation end |
#name ⇒ Object (readonly)
: String
6 7 8 |
# File 'lib/rubydex/keyword.rb', line 6 def name @name end |