@@ -22,14 +22,14 @@ def fetch
2222 get "#{ remote } /raw/#{ tag } /scss/objects/_navigation.scss" , "stylesheets/objects/_navigation.scss"
2323 get "#{ remote } /raw/#{ tag } /scss/objects/_progress.scss" , "stylesheets/objects/_progress.scss"
2424 get "#{ remote } /raw/#{ tag } /scss/objects/_wells.scss" , "stylesheets/objects/_wells.scss"
25- get "#{ remote } /raw/#{ tag } /scss/objects /_clearfix.scss" , "stylesheets/objects /_clearfix.scss"
26- get "#{ remote } /raw/#{ tag } /scss/objects /_conditional.scss" , "stylesheets/objects /_conditional.scss"
27- get "#{ remote } /raw/#{ tag } /scss/objects /_debug.scss" , "stylesheets/objects /_debug.scss"
28- get "#{ remote } /raw/#{ tag } /scss/objects /_helper.scss" , "stylesheets/objects /_helper.scss"
29- get "#{ remote } /raw/#{ tag } /scss/objects /_mixins.scss" , "stylesheets/objects /_mixins.scss"
30- get "#{ remote } /raw/#{ tag } /scss/objects /_normalize.scss" , "stylesheets/objects /_normalize.scss"
31- get "#{ remote } /raw/#{ tag } /scss/objects /_print.scss" , "stylesheets/objects /_print.scss"
32- get "#{ remote } /raw/#{ tag } /scss/objects /_shared.scss" , "stylesheets/objects /_shared.scss"
25+ get "#{ remote } /raw/#{ tag } /scss/generic /_clearfix.scss" , "stylesheets/generic /_clearfix.scss"
26+ get "#{ remote } /raw/#{ tag } /scss/generic /_conditional.scss" , "stylesheets/generic /_conditional.scss"
27+ get "#{ remote } /raw/#{ tag } /scss/generic /_debug.scss" , "stylesheets/generic /_debug.scss"
28+ get "#{ remote } /raw/#{ tag } /scss/generic /_helper.scss" , "stylesheets/generic /_helper.scss"
29+ get "#{ remote } /raw/#{ tag } /scss/generic /_mixins.scss" , "stylesheets/generic /_mixins.scss"
30+ get "#{ remote } /raw/#{ tag } /scss/generic /_normalize.scss" , "stylesheets/generic /_normalize.scss"
31+ get "#{ remote } /raw/#{ tag } /scss/generic /_print.scss" , "stylesheets/generic /_print.scss"
32+ get "#{ remote } /raw/#{ tag } /scss/generic /_shared.scss" , "stylesheets/generic /_shared.scss"
3333 get "#{ remote } /raw/#{ tag } /scss/base/_blockquotes.scss" , "stylesheets/base/_blockquotes.scss"
3434 get "#{ remote } /raw/#{ tag } /scss/base/_container.scss" , "stylesheets/base/_container.scss"
3535 get "#{ remote } /raw/#{ tag } /scss/base/_forms.scss" , "stylesheets/base/_forms.scss"
@@ -59,5 +59,14 @@ def fetch_tags
5959 end
6060
6161
62+ def select msg , elements
63+ elements . each_with_index do |element , index |
64+ say ( block_given? ? yield ( element , index + 1 ) : ( "#{ index + 1 } . #{ element . to_s } " ) )
65+ end
66+ result = ask ( msg ) . to_i
67+ elements [ result - 1 ]
68+ end
69+
70+
6271
6372end
0 commit comments