Class: ChannelsSet

Inherits:
OperationSet show all
Defined in:
lib/satops/operator.rb

Instance Attribute Summary

Attributes inherited from OperationSet

#list

Instance Method Summary collapse

Methods inherited from OperationSet

#-, #extra, #fetch, #initialize

Constructor Details

This class inherits a constructor from OperationSet

Instance Method Details

#delete_allObject



442
443
444
445
# File 'lib/satops/operator.rb', line 442

def delete_all
  # Flag must be set!
  super.delete_all if Channels.delete
end

#fetch_allObject



447
448
449
450
451
452
453
# File 'lib/satops/operator.rb', line 447

def fetch_all
  channels=[]
  @sat.channel.listAllChannels.each do |channel|
    channels << Channel.new(Channel.reader(@sat, channel))
  end
  channels
end

#include?(arg) ⇒ Boolean

Returns:

  • (Boolean)


455
456
457
# File 'lib/satops/operator.rb', line 455

def include?(arg)
  self.include_label?(arg)
end