Method: GoodData::SmallGoodZilla.get_uris
- Defined in:
- lib/gooddata/goodzilla/goodzilla.rb
.get_uris(a_maql_string) ⇒ Array<String>
Scans the provided MAQL and returns Array of all the URIs included in the MAQL. This basically return anything that is enclosed in aquare brackets []
23 24 25 |
# File 'lib/gooddata/goodzilla/goodzilla.rb', line 23 def get_uris(a_maql_string) a_maql_string.scan(/\[([^\"\]]+)\]/).flatten.uniq end |