Skip to content

Commit dd3d5e8

Browse files
committed
Indent the DSL module
1 parent 0dc86f8 commit dd3d5e8

File tree

1 file changed

+11
-11
lines changed
  • lib/rspec_api_documentation

1 file changed

+11
-11
lines changed

lib/rspec_api_documentation/dsl.rb

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
module RspecApiDocumentation
88
module DSL
99

10-
# Custom describe block that sets metadata to enable the rest of RAD
11-
#
12-
# resource "Orders", :meta => :data do
13-
# # ...
14-
# end
15-
#
16-
# Params:
17-
# +args+:: Glob of RSpec's `describe` arguments
18-
# +block+:: Block to pass into describe
19-
#
20-
def resource(*args, &block)
10+
# Custom describe block that sets metadata to enable the rest of RAD
11+
#
12+
# resource "Orders", :meta => :data do
13+
# # ...
14+
# end
15+
#
16+
# Params:
17+
# +args+:: Glob of RSpec's `describe` arguments
18+
# +block+:: Block to pass into describe
19+
#
20+
def resource(*args, &block)
2121
options = if args.last.is_a?(Hash) then args.pop else {} end
2222
options[:api_doc_dsl] = :resource
2323
options[:resource_name] = args.first

0 commit comments

Comments
 (0)