Class: Changi::Release
- Inherits:
-
Object
- Object
- Changi::Release
- Includes:
- FlexibleAttributes
- Defined in:
- lib/changi/release.rb
Class Method Summary collapse
Methods included from FlexibleAttributes
Class Method Details
.build ⇒ Object
6 7 8 |
# File 'lib/changi/release.rb', line 6 def build new.tap(&:read_in_attributes) end |
.demo ⇒ Object
10 11 12 13 14 |
# File 'lib/changi/release.rb', line 10 def demo new.tap do |inst| attribute_names.each { |name| inst.send "#{name}=".to_sym, "<#{name}>" } end end |