Module: Bake::Types::Output
- Extended by:
- Type
- Defined in:
- lib/bake/types/output.rb
Class Method Summary collapse
Methods included from Type
Class Method Details
.composite? ⇒ Boolean
28 29 30 |
# File 'lib/bake/types/output.rb', line 28 def self.composite? false end |
.parse(input) ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'lib/bake/types/output.rb', line 32 def self.parse(input) case input when '-' return $stdout else File.open(input, "w") end end |