Class: Common

Inherits:
Object
  • Object
show all
Defined in:
lib/objects/same/common.rb

Direct Known Subclasses

Animation, PhotoSize

Instance Method Summary collapse

Constructor Details

#initialize(obj) ⇒ Common

:nodoc:



14
15
16
# File 'lib/objects/same/common.rb', line 14

def initialize(obj) # :nodoc:
  @obj = obj
end

Instance Method Details

#file_idObject



18
19
20
# File 'lib/objects/same/common.rb', line 18

def file_id
  @obj.file_id
end

#file_sizeObject



34
35
36
# File 'lib/objects/same/common.rb', line 34

def file_size
  @obj.file_size
end

#file_unique_idObject



22
23
24
# File 'lib/objects/same/common.rb', line 22

def file_unique_id
  @obj.file_unique_id
end

#heigthObject



30
31
32
# File 'lib/objects/same/common.rb', line 30

def heigth
  @obj.heigth
end

#widthObject



26
27
28
# File 'lib/objects/same/common.rb', line 26

def width
  @ob.width
end