Class: Permalinkable::Configure

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

Class Method Summary collapse

Class Method Details

.configsObject



9
10
11
# File 'lib/permalinkable/configure.rb', line 9

def self.configs
  @configs ||= Hashie::Mash.new
end

.configure {|self.configs| ... } ⇒ Object

Yields:



5
6
7
# File 'lib/permalinkable/configure.rb', line 5

def self.configure
  yield self.configs
end

.secretObject



13
14
15
# File 'lib/permalinkable/configure.rb', line 13

def self.secret
  self.configs.secret
end