Class: Avmtrf1::Openvpn::Config::Parser::Simple
- Inherits:
-
Object
- Object
- Avmtrf1::Openvpn::Config::Parser::Simple
- Defined in:
- lib/avmtrf1/openvpn/config/parser/simple.rb
Instance Method Summary collapse
Instance Method Details
#args ⇒ Object
20 21 22 |
# File 'lib/avmtrf1/openvpn/config/parser/simple.rb', line 20 def args parts[1..-1] # rubocop:disable Style/SlicingWithRange end |
#attribute ⇒ Object
16 17 18 |
# File 'lib/avmtrf1/openvpn/config/parser/simple.rb', line 16 def attribute parts.first end |
#data ⇒ Object
12 13 14 |
# File 'lib/avmtrf1/openvpn/config/parser/simple.rb', line 12 def data { attribute: attribute, args: args } end |