Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/taglob/extensions/string.rb
Instance Method Summary collapse
Instance Method Details
#tags ⇒ Object
2 3 4 |
# File 'lib/taglob/extensions/string.rb', line 2 def self =~ /^# ?tags:\s+(.*)/ ? $1.split(',').map {|tag| tag.strip} : [] end |