Class: Pocolog::FileUpgrader::StreamCopy

Inherits:
Struct
  • Object
show all
Defined in:
lib/pocolog/file_upgrader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#in_streamObject

Returns the value of attribute in_stream

Returns:

  • (Object)

    the current value of in_stream



22
23
24
# File 'lib/pocolog/file_upgrader.rb', line 22

def in_stream
  @in_stream
end

#opsObject

Returns the value of attribute ops

Returns:

  • (Object)

    the current value of ops



22
23
24
# File 'lib/pocolog/file_upgrader.rb', line 22

def ops
  @ops
end

#out_typeObject

Returns the value of attribute out_type

Returns:

  • (Object)

    the current value of out_type



22
23
24
# File 'lib/pocolog/file_upgrader.rb', line 22

def out_type
  @out_type
end

Instance Method Details

#copy?Boolean

Returns:

  • (Boolean)


23
# File 'lib/pocolog/file_upgrader.rb', line 23

def copy?; ops.identity? end