Skip to content

Commit

Permalink
Fixes for documents.
Browse files Browse the repository at this point in the history
  • Loading branch information
ucnv committed Nov 3, 2014
1 parent 1445147 commit feaed3a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -8,3 +8,4 @@ tmp
*.gem
Gemfile.lock
Guardfile
.yardoc
2 changes: 1 addition & 1 deletion lib/aviglitch/base.rb
Expand Up @@ -58,7 +58,7 @@ def close
# It also requires a block. In the block, you take the frame data
# as a String parameter.
# To modify the data, simply return a modified data.
# With a block it returns Enumerator, without a block it returns +self+.
# Without a block it returns Enumerator, with a block it returns +self+.
def glitch target = :all, &block # :yield: data
if block_given?
@frames.each do |frame|
Expand Down
3 changes: 3 additions & 0 deletions lib/aviglitch/frames.rb
Expand Up @@ -19,8 +19,11 @@ class Frames
include Enumerable

# :stopdoc:

##
SAFE_FRAMES_COUNT = 150000
@@warn_if_frames_are_too_large = true

# :startdoc:

attr_reader :meta
Expand Down

0 comments on commit feaed3a

Please sign in to comment.