Class: MockPage

Inherits:
Object
  • Object
show all
Defined in:
app/models/revision_test.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#revisionsObject

Returns the value of attribute revisions.



14
15
16
# File 'app/models/revision_test.rb', line 14

def revisions
  @revisions
end

#webObject

Returns the value of attribute web.



14
15
16
# File 'app/models/revision_test.rb', line 14

def web
  @web
end

Instance Method Details

#nameObject



15
# File 'app/models/revision_test.rb', line 15

def name() "page" end