Module: Nm

Defined in:
lib/nm.rb,
lib/nm/ext.rb,
lib/nm/render.rb,
lib/nm/source.rb,
lib/nm/context.rb,
lib/nm/version.rb,
lib/nm/template_behaviors.rb

Defined Under Namespace

Modules: TemplateBehaviors Classes: Context, InvalidError, Render, Source

Constant Summary collapse

VERSION =
"0.6.0"

Class Method Summary collapse

Class Method Details

.default_contextObject



11
12
13
# File 'lib/nm.rb', line 11

def self.default_context
  default_context_class.new
end

.default_context_classObject



7
8
9
# File 'lib/nm.rb', line 7

def self.default_context_class
  @default_context_class ||= Class.new
end