Sha256: a9ea63f98a2afc9b8cbf11bc5e7279d22d216a59b915bf73a60384ba566b0b07
Contents?: true
Size: 295 Bytes
Versions: 1
Compression:
Stored size: 295 Bytes
Contents
require 'hako/yaml_loader' module Hako class Application attr_reader :id, :root_path, :yaml def initialize(yaml_path) path = Pathname.new(yaml_path) @id = path.basename.sub_ext('').to_s @root_path = path.parent @yaml = YamlLoader.load(path) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hako-0.7.0 | lib/hako/application.rb |