Class: NeonRAW::Objects::Listing

Inherits:
Array
  • Object
show all
Defined in:
lib/NeonRAW/objects/listing.rb

Overview

The listing object.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#afterObject (readonly)

Returns the value of attribute after.



5
6
7
# File 'lib/NeonRAW/objects/listing.rb', line 5

def after
  @after
end

#beforeObject (readonly)

Returns the value of attribute before.



5
6
7
# File 'lib/NeonRAW/objects/listing.rb', line 5

def before
  @before
end