Class: Finexclub::Core

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/finexclub/core.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCore

Returns a new instance of Core.



10
11
12
13
# File 'lib/finexclub/core.rb', line 10

def initialize
  @images = Images.new(self)
  @signals = Manager.new(self)
end

Instance Attribute Details

#imagesObject (readonly)

Returns the value of attribute images.



7
8
9
# File 'lib/finexclub/core.rb', line 7

def images
  @images
end

#signalsObject (readonly)

Returns the value of attribute signals.



8
9
10
# File 'lib/finexclub/core.rb', line 8

def signals
  @signals
end

Instance Method Details

#configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



15
16
17
18
# File 'lib/finexclub/core.rb', line 15

def configure(&block)
  yield self
  self
end