Class: Rucc::Case
- Inherits:
-
Object
- Object
- Rucc::Case
- Defined in:
- lib/rucc/case.rb
Instance Attribute Summary collapse
-
#b ⇒ Object
readonly
Returns the value of attribute b.
-
#e ⇒ Object
readonly
Returns the value of attribute e.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(b:, e:, label:) ⇒ Case
constructor
A new instance of Case.
Constructor Details
#initialize(b:, e:, label:) ⇒ Case
Returns a new instance of Case.
6 7 8 9 10 |
# File 'lib/rucc/case.rb', line 6 def initialize(b:, e:, label:) @b = b @e = e @label = label end |
Instance Attribute Details
#b ⇒ Object (readonly)
Returns the value of attribute b.
11 12 13 |
# File 'lib/rucc/case.rb', line 11 def b @b end |
#e ⇒ Object (readonly)
Returns the value of attribute e.
11 12 13 |
# File 'lib/rucc/case.rb', line 11 def e @e end |
#label ⇒ Object (readonly)
Returns the value of attribute label.
11 12 13 |
# File 'lib/rucc/case.rb', line 11 def label @label end |