Class: Snippr::SegmentFilter::OnHost

Inherits:
Base
  • Object
show all
Defined in:
lib/snippr/segment_filter/on_host.rb

Instance Method Summary collapse

Methods inherited from Base

filters, inherited, #initialize

Constructor Details

This class inherits a constructor from Snippr::SegmentFilter::Base

Instance Method Details

#active?Boolean

Returns:

  • (Boolean)


7
8
9
10
11
12
13
# File 'lib/snippr/segment_filter/on_host.rb', line 7

def active?
  if in_env?
    true
  else
    false
  end
end