Class: LensProtocol::OMA::Types::Ignored

Inherits:
Type
  • Object
show all
Defined in:
lib/lens_protocol/oma/types/ignored.rb

Instance Method Summary collapse

Methods inherited from Type

#format, #initialize

Constructor Details

This class inherits a constructor from LensProtocol::OMA::Types::Type

Instance Method Details

#parse(_line, next_lines) ⇒ Object



5
6
7
# File 'lib/lens_protocol/oma/types/ignored.rb', line 5

def parse _line, next_lines
  [nil, next_lines]
end

#wrap(_value, _message, _label) ⇒ Object



9
10
11
# File 'lib/lens_protocol/oma/types/ignored.rb', line 9

def wrap _value, _message, _label
  :ignored
end