Class: RawJson
- Inherits:
-
Object
- Object
- RawJson
- Defined in:
- src/notam_formatter.rb
Instance Method Summary collapse
- #as_json(*_args) ⇒ Object
-
#initialize(json_str) ⇒ RawJson
constructor
A new instance of RawJson.
- #to_json(*_args) ⇒ Object
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 |