class Tenma::Prepare::Config

Attributes

raw[R]

Public Class Methods

new(path) click to toggle source
# File lib/tenma/prepare/config.rb, line 9
def initialize(path)
  @raw = Hashie::Mash.new(YAML.load(File.read(path)))
  validate!
end

Public Instance Methods

github_reponame() click to toggle source
# File lib/tenma/prepare/config.rb, line 14
def github_reponame
  raw.github.owner + "/" + raw.github.repo
end

Private Instance Methods

validate!() click to toggle source
# File lib/tenma/prepare/config.rb, line 19
def validate!
  # TODO
end