class Zenlight::Instance
Public Class Methods
new() { |config| ... }
click to toggle source
# File lib/zenlight.rb, line 13 def initialize @config ||= Zenlight::Configuration.new yield(@config) if block_given? @config end
Public Instance Methods
config()
click to toggle source
# File lib/zenlight.rb, line 18 def config @config || self.configure end