class Feedcellar::Gtk::Command
Attributes
database_dir[R]
Public Class Methods
new(*args)
click to toggle source
Calls superclass method
# File lib/feedcellar/gtk/command.rb, line 29 def initialize(*args) super default_base_dir = File.join(File.expand_path("~"), ".feedcellar") @base_dir = ENV["FEEDCELLAR_HOME"] || default_base_dir @database_dir = File.join(@base_dir, "db") end
Public Instance Methods
show()
click to toggle source
# File lib/feedcellar/gtk/command.rb, line 43 def show window = Window.new(@database_dir, options) window.run end
version()
click to toggle source
# File lib/feedcellar/gtk/command.rb, line 37 def version puts VERSION end