Class: MasterView::MIO::MIOBase

Inherits:
Object
  • Object
show all
Defined in:
lib/masterview/io.rb

Direct Known Subclasses

ActiveRecordMIO, StringMIO

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ MIOBase

Returns a new instance of MIOBase.



211
212
213
# File 'lib/masterview/io.rb', line 211

def initialize(path)
  @pathname = Pathname.for_path(path)
end

Instance Attribute Details

#pathnameObject

Returns the value of attribute pathname.



209
210
211
# File 'lib/masterview/io.rb', line 209

def pathname
  @pathname
end

Instance Method Details

#full_pathnameObject

for mio objects other than FileMIO, full_pathname is same as pathname



216
217
218
# File 'lib/masterview/io.rb', line 216

def full_pathname
  @pathname
end