Class: PNG

Inherits:
Object
  • Object
show all
Includes:
Decode, Encode
Defined in:
lib/png-encode.rb,
lib/png-encode/decode.rb,
lib/png-encode/encode.rb,
lib/png-encode/version.rb

Defined Under Namespace

Modules: Decode, Encode

Constant Summary

Constants included from Encode

Encode::VERSION

Instance Method Summary collapse

Methods included from Decode

included

Methods included from Encode

included

Constructor Details

#initialize(data) ⇒ PNG

Returns a new instance of PNG.



13
14
15
# File 'lib/png-encode.rb', line 13

def initialize(data)
  @data = data
end