Class: NeonRAW::Objects::Listing
- Inherits:
-
Array
- Object
- Array
- NeonRAW::Objects::Listing
- Defined in:
- lib/NeonRAW/objects/listing.rb
Overview
The listing object.
Instance Attribute Summary collapse
-
#after ⇒ Object
readonly
Returns the value of attribute after.
-
#before ⇒ Object
readonly
Returns the value of attribute before.
Instance Method Summary collapse
-
#initialize(after, before) ⇒ Listing
constructor
A new instance of Listing.
Constructor Details
#initialize(after, before) ⇒ Listing
Returns a new instance of Listing.
6 7 8 9 |
# File 'lib/NeonRAW/objects/listing.rb', line 6 def initialize(after, before) @after = after @before = before end |
Instance Attribute Details
#after ⇒ Object (readonly)
Returns the value of attribute after.
5 6 7 |
# File 'lib/NeonRAW/objects/listing.rb', line 5 def after @after end |
#before ⇒ Object (readonly)
Returns the value of attribute before.
5 6 7 |
# File 'lib/NeonRAW/objects/listing.rb', line 5 def before @before end |