Class: DogEventer::Scope

Inherits:
Object
  • Object
show all
Defined in:
lib/dogeventer/scope.rb

Direct Known Subclasses

Host, Url

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(start_time, events = nil) ⇒ Scope

Returns a new instance of Scope.



4
5
6
7
# File 'lib/dogeventer/scope.rb', line 4

def initialize(start_time, events=nil)
  @start_time = start_time
  @events = events || []
end

Instance Attribute Details

#eventsObject (readonly)

Returns the value of attribute events.



3
4
5
# File 'lib/dogeventer/scope.rb', line 3

def events
  @events
end