Class: Stationary::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



20
21
22
23
24
# File 'lib/stationary.rb', line 20

def initialize
  @layout             = 'application'
  @skip_before_filter = []
  @root               = "#{Rails.root}/app/views/stationary"
end

Instance Attribute Details

#layoutObject

Returns the value of attribute layout.



18
19
20
# File 'lib/stationary.rb', line 18

def layout
  @layout
end

#rootObject

Returns the value of attribute root.



18
19
20
# File 'lib/stationary.rb', line 18

def root
  @root
end

#skip_before_filterObject

Returns the value of attribute skip_before_filter.



18
19
20
# File 'lib/stationary.rb', line 18

def skip_before_filter
  @skip_before_filter
end