class Figs::Figsfile
Attributes
locations[R]
method[R]
repo[R]
Public Class Methods
new(*args)
click to toggle source
# File lib/figs/figsfile.rb, line 4 def initialize(*args) @repo = args.shift if args.first.downcase.end_with?(".git") @locations = args @method = @repo.nil? ? "path" : "git" end
Public Instance Methods
[](key)
click to toggle source
# File lib/figs/figsfile.rb, line 10 def [](key) send key end