Class: TurboFlow::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/turboflow/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



7
8
9
10
11
12
# File 'lib/turboflow/configuration.rb', line 7

def initialize
  @default_transition = :fade
  @duration = 300
  @easing = "ease-out"
  @debug = false
end

Instance Attribute Details

#debugObject

Returns the value of attribute debug.



5
6
7
# File 'lib/turboflow/configuration.rb', line 5

def debug
  @debug
end

#default_transitionObject

Returns the value of attribute default_transition.



5
6
7
# File 'lib/turboflow/configuration.rb', line 5

def default_transition
  @default_transition
end

#durationObject

Returns the value of attribute duration.



5
6
7
# File 'lib/turboflow/configuration.rb', line 5

def duration
  @duration
end

#easingObject

Returns the value of attribute easing.



5
6
7
# File 'lib/turboflow/configuration.rb', line 5

def easing
  @easing
end