class Pod::Command::List::Links

Public Class Methods

new(argv) click to toggle source
Calls superclass method
# File lib/pod/command/list.rb, line 19
def initialize(argv)
  @linked = argv.flag?('linked')
  super
end
options() click to toggle source
Calls superclass method
# File lib/pod/command/list.rb, line 13
def self.options
  [[
    '--linked', 'List pods linked in the current project'
  ]].concat(super)
end

Public Instance Methods

run() click to toggle source
# File lib/pod/command/list.rb, line 24
def run
  Pod::Command::Links.list @linked
end