Module: BRB

Defined in:
lib/brb.rb,
lib/brb/version.rb

Defined Under Namespace

Modules: Sigil Classes: Parser

Constant Summary collapse

VERSION =
"0.1.1"

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#loggerObject

Returns the value of attribute logger.



12
13
14
# File 'lib/brb.rb', line 12

def logger
  @logger
end

Class Method Details

.debugObject



14
# File 'lib/brb.rb', line 14

def self.debug = @logger = Logger.new(STDOUT)

.enableObject



16
# File 'lib/brb.rb', line 16

def self.enable = ActionView::Template::Handlers::ERB.erb_implementation = BRB::Parser