Skip to content

Commit 3d7a594

Browse files
cbeergkellogg
authored andcommitted
Fix typo
1 parent c3385cd commit 3d7a594

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/rdf/model/literal.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ def has_datatype?
362362
def valid?
363363
return false if language? && language.to_s !~ /^[a-zA-Z]+(-[a-zA-Z0-9]+)*$/
364364
return false if datatype? && datatype.invalid?
365-
return fals if language? && !@language
365+
return false if language? && !@language
366366
grammar = self.class.const_get(:GRAMMAR) rescue nil
367367
grammar.nil? || !!(value =~ grammar)
368368
end

0 commit comments

Comments
 (0)