Class: Common
- Inherits:
-
Object
- Object
- Common
- Defined in:
- lib/objects/same/common.rb
Instance Method Summary collapse
- #file_id ⇒ Object
- #file_size ⇒ Object
- #file_unique_id ⇒ Object
- #heigth ⇒ Object
-
#initialize(obj) ⇒ Common
constructor
:nodoc:.
- #width ⇒ Object
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_id ⇒ Object
18 19 20 |
# File 'lib/objects/same/common.rb', line 18 def file_id @obj.file_id end |
#file_size ⇒ Object
34 35 36 |
# File 'lib/objects/same/common.rb', line 34 def file_size @obj.file_size end |
#file_unique_id ⇒ Object
22 23 24 |
# File 'lib/objects/same/common.rb', line 22 def file_unique_id @obj.file_unique_id end |
#heigth ⇒ Object
30 31 32 |
# File 'lib/objects/same/common.rb', line 30 def heigth @obj.heigth end |
#width ⇒ Object
26 27 28 |
# File 'lib/objects/same/common.rb', line 26 def width @ob.width end |