module Pecorb
Constants
- DefaultConfig
- VERSION
Public Class Methods
config()
click to toggle source
# File lib/pecorb.rb, line 24 def self.config @config || configure end
configure() { |config| ... }
click to toggle source
# File lib/pecorb.rb, line 18 def self.configure @config = DefaultConfig.new yield(@config) if block_given? @config end
Public Instance Methods
list(*args)
click to toggle source
# File lib/pecorb.rb, line 7 def list(*args) List.new(*args).prompt end