Class: Deface::Actions::Action

Inherits:
Object
  • Object
show all
Defined in:
lib/deface/actions/action.rb

Direct Known Subclasses

AttributeAction, ElementAction, Remove

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Action

Returns a new instance of Action.



4
5
# File 'lib/deface/actions/action.rb', line 4

def initialize(options = {})
end

Class Method Details

.to_symObject



8
9
10
# File 'lib/deface/actions/action.rb', line 8

def to_sym
  self.to_s.demodulize.underscore.to_sym
end

Instance Method Details

#range_compatible?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/deface/actions/action.rb', line 13

def range_compatible?
  false
end