Class: Nmunch::Subscribers::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/nmunch/subscribers/base.rb

Overview

Public: Base subscriber class

Direct Known Subclasses

Stdout

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Base

Public: Initializer

options - A hash of command line options

Returns nothing



13
14
15
# File 'lib/nmunch/subscribers/base.rb', line 13

def initialize(options)
  @options = options
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



6
7
8
# File 'lib/nmunch/subscribers/base.rb', line 6

def options
  @options
end