module PathMapper::Node::Dir::Erb

Attributes

erb_options[R]

Public Class Methods

new(path, erb_options={}) click to toggle source
Calls superclass method
# File lib/path_mapper/node/dir/erb.rb, line 7
def initialize(path, erb_options={})
  super(path)
  @erb_options = erb_options
end

Public Instance Methods

erb_options=(options) click to toggle source
# File lib/path_mapper/node/dir/erb.rb, line 12
def erb_options=(options)
  @erb_options = options
  self.inheritance.each {|m| m.erb_options = options }
end

Protected Instance Methods

_general_options() click to toggle source
Calls superclass method
# File lib/path_mapper/node/dir/erb.rb, line 19
def _general_options
  super[:erb_options] = @erb_options
end