Module: Styx::Helpers

Defined in:
lib/styx/helpers.rb

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
# File 'lib/styx/helpers.rb', line 3

def self.included base
  base.send(:include, InstanceMethods)
  base.class_eval do
    helper_method :this_page?, :this_namespace?
  end
end