Class: Codex::Pressie
- Inherits:
-
Object
- Object
- Codex::Pressie
- Defined in:
- lib/codex/pressie.rb
Instance Method Summary collapse
-
#initialize(metadata) ⇒ Pressie
constructor
A new instance of Pressie.
- #process(input, output) ⇒ Object
Constructor Details
#initialize(metadata) ⇒ Pressie
Returns a new instance of Pressie.
7 8 9 10 11 |
# File 'lib/codex/pressie.rb', line 7 def initialize() YAML.load_file().each do |key, value| instance_variable_set("@#{key}", value) end end |