lib/yuyi/roll.rb in yuyi-0.0.6 vs lib/yuyi/roll.rb in yuyi-0.0.7
- old
+ new
@@ -11,19 +11,17 @@
def self.file_name file_name = nil
file_name ? @file_name = file_name : @file_name
end
def self.pre_install &block
- Yuyi::Menu.add_pre_install self unless @pre_install
@pre_install ||= block
end
def self.install &block
@install ||= block
end
def self.post_install &block
- Yuyi::Menu.add_post_install self unless @post_install
@post_install ||= block
end
def self.uninstall &block
@uninstall ||= block