Class: Eggsh::Ls
Instance Method Summary collapse
- #[](arg) ⇒ Object
-
#initialize(arg = nil) ⇒ Ls
constructor
A new instance of Ls.
- #old_bracket ⇒ Object
Constructor Details
#initialize(arg = nil) ⇒ Ls
Returns a new instance of Ls.
5 6 7 8 9 10 11 |
# File 'lib/ls.rb', line 5 def initialize(arg = nil) if arg super(arg) else super(Dir['*']) end end |