diff --git a/lib/sapling.rb b/lib/sapling.rb index 890f562..c80903f 100644 --- a/lib/sapling.rb +++ b/lib/sapling.rb @@ -11,11 +11,9 @@ require_relative 'sapling/utility' # Sapling is the main module for the program. From here, the rest of the world # starts building. module Sapling - # CLI is the class for option parsing, and the gateway to the program, on the # command line class CLI - # Option parsing, and gateway to either reading and traversing a tree, or # editing/creating a tree. def talk(options) @@ -71,7 +69,7 @@ module Sapling end - # Hacky way of dealing with bad options + # Handle bad options gracefully begin opt_parser.parse!(options) rescue OptionParser::InvalidOption diff --git a/lib/sapling/utility.rb b/lib/sapling/utility.rb index 12b13f1..576122a 100644 --- a/lib/sapling/utility.rb +++ b/lib/sapling/utility.rb @@ -55,5 +55,4 @@ def verify_tree(file) end results.include?(false) ? false : true - end