Class: LsFile

Inherits:
Struct
  • Object
show all
Defined in:
lib/lsfile.rb

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



1
2
3
# File 'lib/lsfile.rb', line 1

def name
  @name
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



1
2
3
# File 'lib/lsfile.rb', line 1

def size
  @size
end