Sha256: a3d754e33182b2009948d921793059f2592eaa27f536d0e87df1291a5595289e
Contents?: true
Size: 726 Bytes
Versions: 1
Compression:
Stored size: 726 Bytes
Contents
module Appifier module Components class Appifile attr_reader :content def initialize(path:) @path = path @content = {} openfile end def dataset_rules @content[:template][:dataset] end def actions @content[:actions] end private def openfile raise 'Appifile not foud' unless File::exist? @path begin @content = YAML.load_file(@path) rescue StandardError => e raise e.message end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
appifier-0.1.2 | lib/appifier/components/Appifile.rb |