class MovieMasher::Filter

base for all filters

Attributes

__outsize[RW]
disabled[W]
id[R]

Public Class Methods

new(id = nil) click to toggle source
# File lib/graph.rb, line 100
def initialize(id = nil)
  @id = id || ''
  @disabled = false
end

Public Instance Methods

filter_command(_scope) click to toggle source
# File lib/graph.rb, line 94
def filter_command(_scope)
  (@disabled ? '' : @id)
end
filter_name() click to toggle source
# File lib/graph.rb, line 97
def filter_name
  @id
end