Class: Esbuild::BuildResult::Metafile::Input
- Inherits:
-
Struct
- Object
- Struct
- Esbuild::BuildResult::Metafile::Input
- Defined in:
- lib/esbuild/build_result.rb
Instance Attribute Summary collapse
-
#bytes ⇒ Object
Returns the value of attribute bytes.
-
#imports ⇒ Object
Returns the value of attribute imports.
Instance Method Summary collapse
-
#initialize(hash) ⇒ Input
constructor
A new instance of Input.
Constructor Details
#initialize(hash) ⇒ Input
Returns a new instance of Input.
24 25 26 |
# File 'lib/esbuild/build_result.rb', line 24 def initialize(hash) super(hash["bytes"], hash["imports"]) end |
Instance Attribute Details
#bytes ⇒ Object
Returns the value of attribute bytes
23 24 25 |
# File 'lib/esbuild/build_result.rb', line 23 def bytes @bytes end |
#imports ⇒ Object
Returns the value of attribute imports
23 24 25 |
# File 'lib/esbuild/build_result.rb', line 23 def imports @imports end |