module Crabfarm::Live::Interactable
Public Class Methods
included(klass)
click to toggle source
# File lib/crabfarm/live/interactable.rb, line 5 def self.included(klass) klass.extend ClassMethods end
Public Instance Methods
examine(_tools=true)
click to toggle source
# File lib/crabfarm/live/interactable.rb, line 30 def examine(_tools=true) if Crabfarm.live? Crabfarm.live.show_primary_contents if self.is_a? BaseNavigator Crabfarm.live.show_content raw_document if self.is_a? BaseReducer Crabfarm.live.show_selector_gadget if _tools raise LiveInterrupted.new end end