Class: Esbuild::BuildResult::Metafile::Output::Input

Inherits:
Struct
  • Object
show all
Defined in:
lib/esbuild/build_result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hash) ⇒ Input

Returns a new instance of Input.



31
32
33
# File 'lib/esbuild/build_result.rb', line 31

def initialize(hash)
  super(hash["bytesInOutput"])
end

Instance Attribute Details

#bytes_in_outputObject

Returns the value of attribute bytes_in_output

Returns:

  • (Object)

    the current value of bytes_in_output



30
31
32
# File 'lib/esbuild/build_result.rb', line 30

def bytes_in_output
  @bytes_in_output
end