class Autorake::AddKeyVal

Public Class Methods

new(key, val) click to toggle source
Calls superclass method Autorake::Add.new
# File lib/autorake/definition.rb, line 159
def initialize key, val
  x, y = key.to_s.split "/"
  if y then
    x = x.to_sym
  else
    x, y = nil, x
  end
  super x, y.to_sym
  @val = val
end

Private Instance Methods

expanded() click to toggle source
# File lib/autorake/definition.rb, line 170
def expanded
  @config.directories.expand @val
end