Class: RawJson

Inherits:
Object
  • Object
show all
Defined in:
src/notam_formatter.rb

Instance Method Summary collapse

Constructor Details

#initialize(json_str) ⇒ RawJson

Returns a new instance of RawJson.



2
# File 'src/notam_formatter.rb', line 2

def initialize(json_str)= @json_str = json_str

Instance Method Details

#as_json(*_args) ⇒ Object



4
# File 'src/notam_formatter.rb', line 4

def as_json(*_args) = @json_str

#to_json(*_args) ⇒ Object



3
# File 'src/notam_formatter.rb', line 3

def to_json(*_args) = @json_str