Class: Tay::Specification::Action

Inherits:
Object
  • Object
show all
Defined in:
lib/tay/specification/action.rb

Overview

Action is a parent class shared between Tay::Specification::PageAction and Tay::Specification::BrowserAction.

Direct Known Subclasses

BrowserAction, PageAction

Instance Attribute Summary collapse

Instance Attribute Details

#iconObject

Path to the icon that is displayed in the browser



9
10
11
# File 'lib/tay/specification/action.rb', line 9

def icon
  @icon
end

Path to the HTML file that is displayed when your action is clicked



15
16
17
# File 'lib/tay/specification/action.rb', line 15

def popup
  @popup
end

#titleObject

Title that appears on mouseover



12
13
14
# File 'lib/tay/specification/action.rb', line 12

def title
  @title
end