Sha256: 373e1d99095990c412aab6dd238787c6679e47c0d87627bc2caa7236c5c9265c
Contents?: true
Size: 361 Bytes
Versions: 5
Compression:
Stored size: 361 Bytes
Contents
## # NPR::Entity::Crop # module NPR module Entity class Crop < Base attr_accessor :type, :src, :width, :height #--------------- def initialize(json) @type = json["type"] @src = json["src"] @width = json["width"].to_i @height = json["height"].to_i end end # Crop end # Entity end # NPR
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
npr-3.0.0 | lib/npr/entity/crop.rb |
npr-2.0.2 | lib/npr/entity/crop.rb |
npr-2.0.1 | lib/npr/entity/crop.rb |
npr-2.0.0 | lib/npr/entity/crop.rb |
npr-1.2.0 | lib/npr/entity/crop.rb |