Class: Marta::SmartPage

Instance Attribute Summary collapse

Class Method Summary collapse

Methods included from PublicMethods

#default_method_missing, #engine, #initialize, #method_edit, #method_missing, #open_page

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Marta::PublicMethods

Instance Attribute Details

#class_nameObject

Returns the value of attribute class_name.



37
38
39
# File 'lib/marta.rb', line 37

def class_name
  @class_name
end

#dataObject

Returns the value of attribute data.



37
38
39
# File 'lib/marta.rb', line 37

def data
  @data
end

#edit_markObject

Returns the value of attribute edit_mark.



37
38
39
# File 'lib/marta.rb', line 37

def edit_mark
  @edit_mark
end

Class Method Details

.open_page(*args) ⇒ Object

open_page can create new instance



44
45
46
47
# File 'lib/marta.rb', line 44

def self.open_page(*args)
  page = self.new
  page.open_page(*args)
end