module Bake::Type::Input
Public Class Methods
Source
# File vendor/bundle/ruby/3.4.0/gems/bake-0.23.1/lib/bake/type/input.rb, line 13 def self.composite? false end
Source
# File vendor/bundle/ruby/3.4.0/gems/bake-0.23.1/lib/bake/type/input.rb, line 17 def self.parse(input) case input when "-" return $stdin when IO, StringIO return input else File.open(input) end end