Class: ABNF::Parser::Rules::ProseVal
- Inherits:
-
Object
- Object
- ABNF::Parser::Rules::ProseVal
- Defined in:
- lib/abnf/parser/rules/prose_val.rb
Instance Attribute Summary collapse
-
#abnf ⇒ Object
readonly
Returns the value of attribute abnf.
Instance Method Summary collapse
- #call(io, _ = nil) ⇒ Object
-
#initialize(abnf) ⇒ ProseVal
constructor
A new instance of ProseVal.
Constructor Details
#initialize(abnf) ⇒ ProseVal
Returns a new instance of ProseVal.
7 8 9 |
# File 'lib/abnf/parser/rules/prose_val.rb', line 7 def initialize abnf @abnf = abnf end |
Instance Attribute Details
#abnf ⇒ Object (readonly)
Returns the value of attribute abnf.
5 6 7 |
# File 'lib/abnf/parser/rules/prose_val.rb', line 5 def abnf @abnf end |