Skip to content

Commit

Permalink
Merge pull request #51 from maxmeyer/feature/fix_readme
Browse files Browse the repository at this point in the history
Fixed documentation about structure in readme and add some more stuff
  • Loading branch information
Jason Long committed Feb 15, 2015
2 parents d250621 + 08f9af8 commit 2ff75f2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,15 +190,19 @@ To get more information about the structure of the pattern, please use the follo
pattern = GeoPattern.generate('Mastering Markdown', patterns: [:sine_waves, :xes])

# The name of the structure
pattern.pattern.name
pattern.structure.name

# The generator of the structure
pattern.pattern.generator
pattern.structure.generator
```

## Rake Support

```ruby
string = 'Mastering markdown'

require 'geo_pattern/geo_pattern_task'

GeoPattern::GeoPatternTask.new(
name: 'generate',
description: 'Generate patterns to make them available as fixtures',
Expand Down

0 comments on commit 2ff75f2

Please sign in to comment.